home *** CD-ROM | disk | FTP | other *** search
- global myLine, gsliderbar, gMovNo, gdirmovie, fixPal
-
- on startMovie
- if the machineType < 256 then
- openXLib("XPALETTE")
- set fixPal to fixPalette(mnew, the stageLeft, the stageTop, the stageRight, the stageBottom)
- end if
- if the machineType >= 256 then
- openXLib("XPALETTE.dll")
- set fixPal to XPALETTE(mnew)
- end if
- seperate()
- set gdirmovie to "flyinf.dir"
- set gMovNo to the number of cast gMovNo
- fixPal(mPatchIt)
- repeat with i = 1 to 1000
- if the castType of cast i = #digitalVideo then
- set the pausedAtStart of cast i to 1
- set the controller of cast i to gsliderbar
- set the video of cast i to 0
- end if
- end repeat
- end
-
- on patchPal
- fixPal(mPatchIt)
- end
-
- on stopMovie
- fixPal(mdispose)
- if the machineType < 256 then
- closeXLib("XPALETTE")
- else
- closeXLib("XPALETTE.dll")
- end if
- end
-
- on seperate
- put getAt(FlyList, 1) into field "Name"
- put getAt(FlyList, 2) into field "Pattern"
- put getAt(FlyList, 3) into field "Stage"
- put getAt(FlyList, 4) into field "Link"
- set gMovNo to the number of cast getAt(FlyList, 7)
- end
-